<header id="header" style="margin-bottom:20px;">
    <div class="container">
        <div class="pure-menu pure-menu-open pure-menu-horizontal">
            <a href="http://{:Config('site.web_url')}" class="pure-menu-heading">{:Config('site.web_title')}</a>
            <ul>
                <li class="pure-menu-selected"><a title="Home" pjax href="/">首页</a></li>
                <li><a href="/Article.html" pjax>我的文章</a></li>
                <li><a href="/Photo.html" pjax>我的相册</a></li>
                {if 99999999 < Session(Config("USER_AUTH_KEY"))}
                <li>
                    <a href="javascript:;">心里爱</a>
                    <ul>
                        <li><a href="/Mylove/art.html" pjax><i class="fa fa-edit"></i>点点滴滴</a></li>
                        <li><a href="/Mylove/photo.html" pjax><i class="fa fa-cloud-upload"></i>颜如玉</a></li>
                    </ul>
                </li>
                {/if}
                <li><a href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=kaOnoKGhoKelo9Hg4L-y-vw">给我留言</a></li>
                <li><a href="/Aboutme.html" pjax>看看是谁</a></li>
                {if Session(Config("USER_AUTH_KEY")) == 3}
                <li>
                    <a title="User" href="javascript:;" pjax>用户管理<span class="caret"></span></a>
                    <ul role="menu">
                        <li><a href="/Article/edit.html"><i class="fa fa-edit"></i>新的文章</a></li>
                        <li><a href="/Photo/add.html" pjax="#site-content" ><i class="fa fa-cloud-upload"></i>新的照片</a></li>
                        <li><a href="javascript:SSSUI.User.logout();"><i class="fa fa-remove"></i>退出登录</a></li>
                    </ul>
                </li>
                {else /}
                <li><a href="javascript:SSSUI.User.login();">用户登陆</a></li>{/if}
            </ul>
        </div>
    </div>
</header>